<?php
require_once (__DIR__.DIRECTORY_SEPARATOR.'WechatSDK'.DIRECTORY_SEPARATOR.'Wechat.php');

/**
 * 
 * @author guibinyu
 * @date 2017-06-15 04:14:50
 */
class Script   
{
    
   private $params;
   private $Wechat;
   public function __construct($Wechat)
    {
        $this->Wechat = $Wechat;
    }
    public function getJsTicket()
    {
        $result = $this->Wechat->Script->getJsTicket();
        return $result;
    }
    public function getJsSign()
    {
        $url  ="http://www.baidu.com";
        $result = $this->Wechat->Script->getJsSign($url);
        return $result;
    }
//index, view, create, update, delete, options
}